package utils;

import java.io.File;

/**
 * Implementation class for FileFilter. It is a filter for rbox files.
 *
 */
public class RboxFileFilter extends javax.swing.filechooser.FileFilter { 
	  
	public boolean accept(File f) {
        return f.isDirectory() || f.getName().toLowerCase().endsWith(".rbox");
    }
    
    public String getDescription() {
        return "Rbox files";
    }
}